from data_processor import process_weather_data
from report_generator import generate_report
from util import create_folder, get_weather_cookies
from visualization import plot_weather
from weather_crawler import init_cities, get_days



if __name__ == '__main__':
    create_folder()
    cookies=get_weather_cookies()
    area_id, name = init_cities()
    days = get_days(area_id,name,cookies)
    processed_data = process_weather_data(days)
    imgPath=plot_weather(name, processed_data)
    generate_report(imgPath,name,days)



